import 'package:flutter/material.dart';
import 'package:mansui_kechaung/Navigator_utils.dart';
import 'package:tdesign_flutter/tdesign_flutter.dart';

class HomePage extends StatefulWidget {
  const HomePage({super.key});

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(toolbarHeight: 0),
      //floatingActionButton
      body: Align(
        child: Row(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [TDButton(text: "HomePage", theme: TDButtonTheme.primary, onTap: () {
            NavigatorUtils.push("/rule");
          },),],
        ),
      ),
      floatingActionButton: null,
    );
  }
}
